<?php

/**
 * Test suite
 *
 * @author     Mon Zafra <monzee@gmail.com>
 * @package    Yano
 * @subpackage tests
 * @copyright  (c)2009 Mon Zafra
 * @license    New BSD
 */
defined('HELPER_INCLUDED') or require_once 'Helper.php';

class AllTests
{
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite;
        $suite->addTestSuite('ParserTest');
        $suite->addTestSuite('EngineTest');
        $suite->addTestSuite('CompilerTest');
        PHPUnit_Util_Filter::addDirectoryToFilter(TEST_ROOT);
        return $suite;
    }
}
